const batchOutRoom = [{
  path: 'outRoom',
  name: 'outRoomIndex',
  component: () =>
    import(/* webpackChunkName: "outRoomIndex" */ '@main/routes/approvalManage/content/'),
  meta: {
    role: '校外住宿',
    type: 4
  }
}, {
  path: 'stuPutIn',
  name: 'stuPutIn',
  component: () =>
    import(/* webpackChunkName: "stuPutIn" */ '@main/routes/approvalManage/content/'),
  meta: {
    role: '学生入住',
    type: 1
  }
}, {
  path: 'stuChange',
  name: 'stuChange',
  component: () =>
    import(/* webpackChunkName: "stuChange" */ '@main/routes/approvalManage/content/'),
  meta: {
    role: '学生调宿',
    type: 3
  }
}]
const approvalManage = [{
  path: 'approvalManage',
  name: 'approvalManage',
  component: () =>
    import(/* webpackChunkName: "approvalManage" */ '@main/routes/approvalManage'),
  meta: {
    role: '审批管理'
  },
  children: [...batchOutRoom]
}]

export default [...approvalManage]
